<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<div id="content">
    <div class="span10">
        <form method="POST" cssClass="form-horizontal">

            <%--<div class="control-group"><label class="control-label">Country:</label><form:input path="countryID"/></div>
            <form:errors path="countryID"/>--%>

            <form:select path="contact.countryID">
                <form:option value="">--Select Country--</form:option>
                <form:options items="${countries}" itemValue="iD" itemLabel="cName" />
            </form:select>

            <div class="control-group"><label class="control-label">City:</label><form:input path="contact.city"/></div>
            <form:errors path="city" />
            <div class="control-group"><label class="control-label">District:</label><form:input path="contact.district"/></div>
            <form:errors path="district"/>
            <div class="control-group"><label class="control-label">Street:</label><form:input path="contact.street"/></div>
            <form:errors path="street"/>
            <div class="control-group"><label class="control-label">Apartments:</label><form:input path="contact.apartments"/></div>
            <form:errors path="apartments"/>
            <div class="control-group"><input type="reset" value="Reset"/><input type="submit" value="Save"/></div>

        </form>
    </div>
</div>
</body>
</html>